<template>
  <div>B项目：</div>
  <br/>
  <span>引入了：</span>
  <testA />
  <countDown />
  <loginA />
    <router-view></router-view>
</template>

<script>
import { defineAsyncComponent } from 'vue'

const countDown = defineAsyncComponent(() => import('A/countDown'))
const testA = defineAsyncComponent(() => import('A/testA'))
const loginA = defineAsyncComponent(() => import('A/loginA'))
export default {
  components: { countDown, testA,loginA },
  setup() {
    const testFunction = () => {
      console.log('滚')
    }
    return {
      testFunction,
    }
  },
}
</script>

<style>
div {
  color: yellowgreen;
}
</style>
